package com.free.food.order.domain.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 类功能描述：
 *
 * @author：刘富国
 * @createTime：2019/2/14 11:48
 */
@Data
public class CreateOrderRequest {
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @NotEmpty(message = "地址不能为空")
    private String address;

    @NotEmpty(message = "唯一标识不能为空")
    private String openid;

    @NotEmpty(message = "商品不能为空")
    private String items;


}
